package com.thinkit.bigdata.web.model.tag;

import java.util.Date;

public class TagDetail {
    /**
     * 主键
     */
    private String id;

    /**
     * 音频id
     */
    private String audioid;

    /**
     * 开始时间，单位秒
     */
    private Double starttime;

    /**
     * 结束时间，单位秒
     */
    private Double endtime;

    /**
     * 入库时间，默认当前时间
     */
    private Date createtime;

    /**
     * 文本内容
     */
    private String tagcontent;

    /**
     * 是否有效标注，0.无效，1.有效，默认0
     */
    private Integer valid;

    /**
     * 说话人，对应全局说话人
     */
    private String tagspeaker;

    /**
     * 标注时间
     */
    private Date tagtime;

    /**
     * 标注状态，0.标注，1.审核错误，2.审核正确，3.审核修改，4.语料错误，5.语料正确，6.语料修改，默认0
     */
    private Integer tagstatus;

    /**
     * 信道，0.坐席，1.客户
     */
    private Integer channel;

    /**
     * 语速
     */
    private Double speed;

    /**
     * 能量
     */
    private Double energy;

    /**
     * 情绪，0.负面情绪，1.普通，2.高兴，默认null（目前只有0或者空值）
     */
    private Integer emotion;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getAudioid() {
        return audioid;
    }

    public void setAudioid(String audioid) {
        this.audioid = audioid == null ? null : audioid.trim();
    }

    public Double getStarttime() {
        return starttime;
    }

    public void setStarttime(Double starttime) {
        this.starttime = starttime;
    }

    public Double getEndtime() {
        return endtime;
    }

    public void setEndtime(Double endtime) {
        this.endtime = endtime;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getTagcontent() {
        return tagcontent;
    }

    public void setTagcontent(String tagcontent) {
        this.tagcontent = tagcontent == null ? null : tagcontent.trim();
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    public String getTagspeaker() {
        return tagspeaker;
    }

    public void setTagspeaker(String tagspeaker) {
        this.tagspeaker = tagspeaker == null ? null : tagspeaker.trim();
    }

    public Date getTagtime() {
        return tagtime;
    }

    public void setTagtime(Date tagtime) {
        this.tagtime = tagtime;
    }

    public Integer getTagstatus() {
        return tagstatus;
    }

    public void setTagstatus(Integer tagstatus) {
        this.tagstatus = tagstatus;
    }

    public Integer getChannel() {
        return channel;
    }

    public void setChannel(Integer channel) {
        this.channel = channel;
    }

    public Double getSpeed() {
        return speed;
    }

    public void setSpeed(Double speed) {
        this.speed = speed;
    }

    public Double getEnergy() {
        return energy;
    }

    public void setEnergy(Double energy) {
        this.energy = energy;
    }

    public Integer getEmotion() {
        return emotion;
    }

    public void setEmotion(Integer emotion) {
        this.emotion = emotion;
    }
    // ======================= 常量 ========================
    /**
     * 标注状态-标注（默认）
     */
    public static final Integer STATUS_TAG = 0;

    /**
     * 标注状态-审核错误
     */
    public static final Integer STATUS_AUDIT_WRONG = 1;
    /**
     * 标注状态-审核正确
     */
    public static final Integer STATUS_AUDIT_RIGHT = 2;
    /**
     * 标注状态-审核修改
     */
    public static final Integer STATUS_AUDIT_EDIT = 3;
    /**
     * 标注状态-语料错误
     */
    public static final Integer STATUS_CORPUS_WRONG = 4;
    /**
     * 标注状态-语料正确
     */
    public static final Integer STATUS_CORPUS_RIGHT = 5;
    /**
     * 标注状态-语料修改
     */
    public static final Integer STATUS_CORPUS_EDIT = 6;
}